<template>
    <div class="ADSBalance">
        <div class="balance">
            <strong class="DIN-Medium">0.00</strong>
            <span>持有ADS</span>
        </div>
        <div class="price">
            <div class="item">
                <p><strong class="DIN-Medium">12.6 </strong><span>  元 / 个</span></p>
                <p><span>当前价格</span></p>
            </div>
            <div class="item">
                <p><strong class="DIN-Medium">0.00</strong><span> 元</span></p>
                <p><span>总价值</span></p>
            </div>
        </div>
    </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
@Component({
    name: 'ADSBalance'
})
export default class extends Vue {
}
</script>

<style scoped lang="less">
.ADSBalance {
    width: 6.9rem;
    height: 3.0rem;
    border-radius: 0.1rem;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.4rem 0.4rem 0.2rem 0.4rem;
    color: white;
    margin-bottom: 0.2rem;
    & span {
        font-size: 0.24rem;
    }
    & .balance {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: flex-start;
        width: 6.1rem;
        & strong {
            font-size: 0.64rem;
            font-weight: 600;
        }
    }
    & .price {
        width: 6.1rem;
        flex: 1;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-end;
        & .item {
            flex: 1;
            text-align: left;
            & strong {
                font-size: 0.44rem;
                font-weight: 600;
            }
        }
    }
}
</style>
